package com.dhecp.project.hr.service;

import java.util.List;
import java.util.Map;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.hr.domain.ProductSetup;

public interface ProductSetupService {


    /**
     * 查询商品库
     * @param params
     * @return List - ProductActive
     * @throws Exception
     * @author DH-Xxj
     */
    List<ProductSetup> queryDataList(Map<String, Object> params) throws Exception;

    /*
     * 通过编码查找
     */
    ProductSetup findByCode(String code);

    /*
     * 添加数据
     */
    void insert(ProductSetup entity);

    /*
     * 更新数据
     */
    AjaxResult editSetting(ProductSetup entity,
    		String sizePackage, String weightPackage, String advantage);

	/**
	 * 导入产品信息至逸思精品表
	 * @param rows 必要参数：实体类（ProductCarefullyChosen）的json格式字符串
	 * @return MessageModel
	 * @author DH-Xxj
	 */
	AjaxResult importBatch(Map<String, Object> params);


}
